<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html>
    <!--<![endif]-->
    <!-- BEGIN HEAD -->

    <head>
        <meta charset="utf-8" />
        <title>管理员登录 - 管理后台</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />
        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <!--<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" />-->
        <link href="__ROOT__/static/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="__ROOT__/static/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
        <link href="__ROOT__/static/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="__ROOT__/static/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <link href="__ROOT__/static/assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
        <link href="__ROOT__/static/assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL STYLES -->
        <link href="__ROOT__/static/assets/global/css/components.min.css" rel="stylesheet" id="style_components" type="text/css" />
        <link href="__ROOT__/static/assets/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
        <!-- END THEME GLOBAL STYLES -->
        <!-- BEGIN PAGE LEVEL STYLES -->
        <link href="__ROOT__/static/assets/pages/css/login.min.css" rel="stylesheet" type="text/css" />
        <!-- END PAGE LEVEL STYLES -->
        <!-- BEGIN KINGSVN STYLES -->
        <link href="__ROOT__/static/plugin/jquery-validation-1.14.0/css/ks-error-style.css" rel="stylesheet" type="text/css"/>
        <link href="__ROOT__/static/plugin/ks-ajaxpost-1.0/ks-ajaxpost-min-1.0.css" rel="stylesheet" type="text/css"/>
        <link href="__ROOT__/static/admin/css/style.css" rel="stylesheet" type="text/css"/>
        
        <!-- END KINGSVN STYLES -->
        <link rel="shortcut icon" href="__ROOT__/favicon.ico" /> 
    </head>
    <!-- END HEAD -->

    <body class=" login">
        <div class="ks-mcbox" style="margin-top: -5%;">
            <!-- BEGIN LOGO -->
            <div class="logo">
                <a href="//www.kingsvn.com"><b>KING</b><strong>SVN</strong></a>
            </div>
            <!-- END LOGO -->
            <!-- BEGIN LOGIN -->
            <div class="content">
                <!-- BEGIN LOGIN FORM -->
                <form class="login-form ks-form">
                    <h3 class="form-title font-green font-yahei">后台登录</h3>
                    <div class="form-group">
                        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
                        <label class="control-label visible-ie8 visible-ie9">帐号</label>
                        <input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="帐号" name="nick" required /> </div>
                    <div class="form-group">
                        <label class="control-label visible-ie8 visible-ie9">密码</label>
                        <input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="密码" name="password" required/> </div>
                    <div class="form-actions">
                        <button type="button" class="btn green uppercase" id="btn_login">登录</button>
                        <label class="rememberme check mt-checkbox mt-checkbox-outline">
                            <input type="checkbox" name="remember" value="1" checked />记住今天登录
                            <span></span>
                        </label>
                        <a href="javascript:;" id="forget-password" class="forget-password">忘记密码?</a>
                    </div>
                    <div class="login-options">
                        <div class="alert alert-danger display-hide">
                            <button class="close" data-close="alert"></button>
                            <span> 请输入帐号和密码 </span>
                        </div>
                    </div>
                    <div class="create-account">
                        <p>
                            <a href="//www.kingsvn.com" class="uppercase">www.kingsvn.com</a>
                        </p>
                    </div>
                </form>
                <!-- END LOGIN FORM -->
                <!-- BEGIN FORGOT PASSWORD FORM -->
                <div class="forget-form">
                    <h3 class="font-green font-yahei">忘记密码 ?</h3>
                    <br/>
                    <div class="form-group">
                        <input class="form-control placeholder-no-fix" type="text" autocomplete="off" readonly="readonly" value="客服QQ：81746336" />
                    </div>
                    <div class="form-group">
                        <input class="form-control placeholder-no-fix" type="text" autocomplete="off" readonly="readonly" value="Eamil：service@kingsvn.com" />
                    </div>
                    <div class="form-group">
                        <input class="form-control placeholder-no-fix" type="text" autocomplete="off" readonly="readonly" value="官方网站：www.kingsvn.com" />
                    </div>

                    <div class="form-actions">
                        <span class="pull-left">如果忘记帐号密码<br/>请联系我们为您找回密码</span>
                        <button type="button" id="back-btn" class="btn green btn-outline pull-right">返回</button>
                    </div>
                </div>
                <!-- END FORGOT PASSWORD FORM -->
            </div>
            <div class="copyright"> 2009 - 2016 © 金星科技 后台管理 </div>
        </div>
        <!--[if lt IE 9]>
<script src="__ROOT__/static/assets/global/plugins/respond.min.js"></script>
<script src="__ROOT__/static/assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
        <!-- BEGIN CORE PLUGINS -->
        <script src="__ROOT__/static/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
        <!-- END CORE PLUGINS -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/additional-methods.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/localization/messages_zh.min.js" type="text/javascript"></script>
        <script src="__ROOT__/static/assets/global/plugins/select2/js/select2.full.min.js" type="text/javascript"></script>
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL SCRIPTS -->
        <script src="__ROOT__/static/assets/global/scripts/app.min.js" type="text/javascript"></script>
        <!-- END THEME GLOBAL SCRIPTS -->
        <!-- BEGIN KINGSVN SCRIPTS -->
        <script src="__ROOT__/static/plugin/ks-ajaxpost-1.0/ks-ajaxpost-min-1.0.js" type="text/javascript"></script>
        <!-- END KINGSVN SCRIPTS -->
        
        <script>
            $(function () {
                $('#forget-password').click(function () {
                    $('.login-form').hide();
                    $('.forget-form').show();
                });

                $('#back-btn').click(function () {
                    $('.login-form').show();
                    $('.forget-form').hide();
                });
                
                var form = $('.ks-form');
                form.validate({
                    errorClass: "ks-error-style"
                });


                $("#btn_login").on('click', function () {
                    if (form.valid()) {
                        $(this).ajaxPost({
                            url: '#'
                        })
                    }
                })
            })
        </script>
    </body>

</html>